package cn.source.system.account.dto;

import com.alibaba.fastjson2.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>TenantRoleDTO.java此类用于租户内角色信息</p>
 * <p>@author:YXZhou</p>
 * <p>@remark:</p>
 */
@ApiModel(value = "TenantRoleDTO", description = "租户内角色信息")
@Data
public class TenantRoleDTO extends JSONObject {

    @ApiModelProperty("角色编码")
    private String code;

    @ApiModelProperty("角色名称")
    private String name;

    @ApiModelProperty("角色所拥有的权限列表")
    private List<String> privilegeCodes;

}
